from django.conf.urls.defaults import *
from django.contrib.auth.forms import AuthenticationForm
from django.contrib import admin
from socialbar.models import Bar, Deal

admin.autodiscover()
admin.site.register(Bar, admin.ModelAdmin)
admin.site.register(Deal, admin.ModelAdmin)

handler500 = 'djangotoolbox.errorviews.server_error'

urlpatterns = patterns('',
#    (r'^$', 'django.views.generic.simple.redirect_to', include('guestbook.urls')),
    (r'', include('socialbar.urls')),
    (r'admin', include(admin.site.urls))
)
